home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / ste / autoexec.lzh / SOURCE / PLAYER.H < prev    next >
C/C++ Source or Header  |  1991-08-05  |  737b  |  27 lines

  1. /*
  2.  * The pointer 'samples' points to a list of segmentes, where
  3.  *  each segment is a record/struct of :
  4.  *       { signed char *samplestart;
  5.  *         long        length_of_sample_segment;
  6.  *       }
  7.  *  'samplestart' == -1, ends the segment-list. When the player
  8.  *  reaches the end, it will start at the segment number 'repeat',
  9.  *  iff 'repeat' != -1...
  10.  *
  11.  * Speed is one of the following :
  12.  *    0 : 6.25 KHz,
  13.  *    1 : 12.5 KHz,
  14.  *    2 : 25.0 KHz,
  15.  *    3 : 50.0 KHz 
  16.  * On the STe these values needs to be ored with 0x80 (128),
  17.  * to get mono output. 
  18.  *
  19.  */
  20.  
  21. void SetFilter(void);
  22. void SetPlayFreq(int freq);
  23.  
  24. extern void STe_segment(long *samples, int repeat);
  25.  
  26. extern void STe_end(int soft_stop);
  27.